﻿<navigation:Page x:Class="TotalSystems.Salary.Views.BaseInfo.Bank" 
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
            d:DesignWidth="2000" d:DesignHeight="800"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           Title="مدیریت واحد پول" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">

    <Grid x:Name="LayoutRoot"  FlowDirection="RightToLeft" Height="800">
        <StackPanel>
            <Canvas Height="45">
                <telerik:RadButton Height="35" Width="35" HorizontalAlignment="Left" Margin="12,6,0,0" Name="Btn_Help" VerticalAlignment="Top" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="راهنمای فرم" >
                    <telerik:RadButton.Background>
                        <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Help.png" />
                    </telerik:RadButton.Background>
                </telerik:RadButton>
            </Canvas>



        <telerik:RadGridView  Name="RGV_Tax" ShowGroupPanel="False" Height="29" AutoGenerateColumns="False" IsReadOnly="True" CanUserDeleteRows="False">
            <telerik:RadContextMenu.ContextMenu>
                <telerik:RadContextMenu FlowDirection="RightToLeft" Name="radContextMenu_GridView" >
                    <telerik:RadMenuItem Header="جدید"  Name="radContextMenu_GridView_Add"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Add.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="ویرایش" Name="radContextMenu_GridView_Edit"  >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Edit.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="حذف" Name="radContextMenu_GridView_Delete" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Delete.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem Header="بارگزاری مجدد" Name="radContextMenu_GridView_Reload" >
                        <telerik:RadMenuItem.Icon>
                            <Image Source="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png"
                             Stretch="Fill" />
                        </telerik:RadMenuItem.Icon>
                    </telerik:RadMenuItem>
                </telerik:RadContextMenu>
            </telerik:RadContextMenu.ContextMenu>
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Temp}" Header="ردیف" UniqueName="ACC_Tax_Temp" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_ID}" Header="کد بانک" UniqueName="ACC_Tax_ID" Width="60"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Name}" Header="نام بانک" UniqueName="ACC_Tax_Name" Width="150"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Note}" Header="شعبه" UniqueName="ACC_Tax_Note" Width="150"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Active}" Header="شاخص" UniqueName="ACC_Tax_Active" Width="60" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Active}" Header="تلفن" UniqueName="ACC_Tax_Active" Width="60" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Active}" Header="آدرس" UniqueName="ACC_Tax_Active" Width="200" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Active}" Header="رئیس بانک" UniqueName="ACC_Tax_Active" Width="60" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Note}" Header="توضیحات" UniqueName="ACC_Tax_Note" Width="*"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ACC_Tax_Active}" Header="وضعیت" UniqueName="ACC_Tax_Active" Width="60" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        <!--<telerik:RadDataPager  Source="{Binding Items, ElementName=RGV_Tax}" PageSize="10" Height="28" Margin="10,323,10,0" Name="RDP_Tax" VerticalAlignment="Top" DisplayMode="FirstLastPreviousNextNumeric" FlowDirection="LeftToRight"/>-->
        <Canvas Height="35" >
            <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Tax_Add" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="اضافه کردن رکورد جدید"  Canvas.Left="12" Canvas.Top="6">
                <telerik:RadButton.Background>
                    <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Add.png" />
                </telerik:RadButton.Background>
            </telerik:RadButton>
            <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Tax_Edit" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="ویرایش کردن رکورد"  Canvas.Left="40" Canvas.Top="6">
                <telerik:RadButton.Background>
                    <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Edit.png" />
                </telerik:RadButton.Background>
            </telerik:RadButton>
            <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Tax_Delete" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="حذف کردن رکورد"  Canvas.Left="68" Canvas.Top="6">
                <telerik:RadButton.Background>
                    <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Delete.png" />
                </telerik:RadButton.Background>
            </telerik:RadButton>
            <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Tax_Reload" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="بارگزاری مجدد"  Canvas.Left="96" Canvas.Top="6">
                <telerik:RadButton.Background>
                    <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Refresh.png" />
                </telerik:RadButton.Background>
            </telerik:RadButton>
            <telerik:RadButton Height="22" Width="22" Name="Btn_RGV_Tax_Export" FlowDirection="LeftToRight" Cursor="Hand" ToolTipService.ToolTip="گرفتن خروجی از گرید"  Canvas.Left="124" Canvas.Top="6">
                <telerik:RadButton.Background>
                    <ImageBrush ImageSource="/TotalSystems.Base;component/Images/Icons/Form_Save.png" />
                </telerik:RadButton.Background>
            </telerik:RadButton>
        </Canvas>
        </StackPanel>
    </Grid>
</navigation:Page>
